\documentclass{article}

\usepackage{geometry} % 文档四周边界
\geometry{a4paper, left=1.5cm, right=1.5cm, top=1.5cm, bottom=1.5cm}

\usepackage{ctex}          % 支持中文
\usepackage{tikz}
\usetikzlibrary{arrows.meta}

\begin{document}

\title{使用TikZ绘制项目时间线示例}
\author{作者名}
\date{\today}
\maketitle

\section{软件开发项目里程碑}

\begin{figure}[h]
\centering

\begin{tikzpicture}[
    timeline/.style={thick, ->, >=Latex},
    event/.style={circle, draw=white, fill=blue!60, inner sep=1.5pt},
    label/.style={font=\small, align=center}
]

% 绘制时间轴（从 0 到 12 个月）
\draw[timeline] (0,0) -- (12,0) node[right] {时间（月）};

% 标记刻度和月份
\foreach \x in {0,2,...,12} {
    \draw (\x,0.1) -- (\x,-0.1) node[below, font=\footnotesize] {\x};
}

% 添加事件
\node[event] at (0,0) {};
\node[label, above] at (0,0.3) {项目启动\\需求分析};

\node[event] at (2,0) {};
\node[label, below] at (2,-0.3) {UI/UX设计\\完成};

\node[event] at (5,0) {};
\node[label, above] at (5,0.3) {核心模块\\开发完成};

\node[event] at (8,0) {};
\node[label, below] at (8,-0.3) {内部测试\\与修复};

\node[event] at (10,0) {};
\node[label, above] at (10,0.3) {用户验收\\测试};

\node[event] at (12,0) {};
\node[label, below] at (12,-0.3) {正式上线\\发布 V1.0};

\end{tikzpicture}
\caption{一个项目开发时间线}
\label{fig-1}
\end{figure}

\end{document}